package edu.predatorwars.shared.models;

import java.util.UUID;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class GameInfo {

	private UUID gameId;
	private int maxPlayers;
	private int currentPlayers;
	private String mapName;
	
	@JsonCreator
	public GameInfo(@JsonProperty("gameId") UUID gameId, @JsonProperty("maxPlayers")int maxPlayers, 
			@JsonProperty("currentPlayers") int currentPlayers, @JsonProperty("mapName") String mapName) {
		this.gameId = gameId;
		this.maxPlayers = maxPlayers;
		this.currentPlayers = currentPlayers;
		this.mapName = mapName;
	}
	
	public UUID getGameId() {
		return gameId;
	}
	
	public int getMaxPlayers() {
		return maxPlayers;
	}
	
	public int getCurrentPlayers() {
		return currentPlayers;
	}
	
	public String getMapName() {
		return mapName;
	}
	
}
